package com.microservices.yucloud.api.mongo.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @author zy
 * @date 2019-08-20 17:52
 **/
@Data
@Document(collection = "user")
public class UserEntry {

    @Id
    private String id;

    private Date createDate;

    private String createById;

    private Date lastModifyDate;

    private String lastModifyById;

    private String name;

    private String password;
}
